<template>
	<view>
		<view :class="type===''?'as-navi':'as-navi-tm as-default-bg-color'">
			<slot></slot>
		</view>
		<view class="as-navi-place"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		props: {
			type: {
				type: String,
				default: ""
			},
		},
	}
</script>

<style lang="scss">
	@import "../../common/statistics.scss";
	
	.as-navi{
		@extend .flex-row,.flex-m-between,.flex-c-center;
		position: fixed;
		top: $as-navi-top;
		left: 0rpx;
		right: 0rpx;
		z-index: 999;
		height: 90rpx;
		background-color: $as-main;
		
		padding: 0rpx 20rpx;
	}
	
	.as-navi-tm{
		// @extend .flex-row,.flex-m-between,.flex-c-center;
		position: fixed;
		top: $as-navi-top;
		left: 0rpx;
		right: 0rpx;
		z-index: 999;
		
		// height: $as-navi-bottom-height;
	}
	
	.as-navi-place{
		height: 90rpx;
	}
	// .as-navi{
	// 	@extend .flex-row,.flex-m-between,.flex-c-center,.flex1;
	// 	padding: 0rpx 20rpx;
	// }
	
</style>
